﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageCompany.master" AutoEventWireup="true"
    CodeFile="CompanyGMPList.aspx.cs" Inherits="Bidder_CompanyGMPList" Title="企业GMP管理" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 2px">
                <img src="../images/intro_left.gif" width="4" height="34" />
            </td>
            <td class="intro_wordbg">
                企业GMP管理
            </td>
            <td background="../images/intro_bg.gif" align="left">
                <img src="../images/intro_right.jpg" width="118" height="34" />
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
                GMP编码：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtGMPCODE" runat="server" CssClass="txtbox_200" InvertedComma=" GMP编码"></asp:TextBox>
            </td>
            <td class="td_left_20">
                认证范围：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtGMPRANGE" runat="server" CssClass="txtbox_200" InvertedComma="认证范围"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                &nbsp;</td>
            <td class="td_right_30">
                <input type="submit" name="btnSubmit" value="删除" class="button_80" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"  style="display:<%=Isshow%>" 
                    id="Submit1" /></td>
            <td class="td_left_20">
               <a target="_blank" href='../Bidder/CompanyGMPAdd.aspx?AccountId=<%=MsgBox.JiaMiobj_Encrypt(AccountId) %>'  style="display:<%=Isshow%>">添加GMP</a>
            </td>
            <td class="td_right_30">
                <asp:Button ID="Button6" runat="server" OnClick="Button5_Click" Text="查  询" CssClass="button_80"
                    OnClientClick="javascript:return CheckForm();" />
            </td>
        </tr> 
    </table>
    <asp:DataList ID="DlAttorney" runat="server" Width="100%" CssClass='table_table'
        HeaderStyle-CssClass='table_title'>
        <ItemStyle CssClass="table_td" />
        <AlternatingItemStyle CssClass="table_td2" />
        <HeaderTemplate>
            <table width='100%'>
                <tr>
                    <td class="td_DataListHead" width="25%">
                        企业名称
                    </td>
                    <td class="td_DataListHead" width="10%">
                        GMP编码
                    </td>
                    <td class="td_DataListHead" width="25%">
                        GMP认证范围
                    </td>
                    <td class="td_DataListHead" width="12%">
                        发证日期
                    </td>
                    <td class="td_DataListHead" width="12%">
                        到期时间
                    </td>
                    <td class="td_DataListHead" width="8%">
                        修改
                    </td>
                    <td class="td_DataListHead" width="8%">
                        删除
                    </td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table width='100%'>
                <tr>
                    <td width="25%" class="td_DataListContent_left">
                        <%# Eval("CompanyName")%>
                    </td>
                    <td width="10%" class="td_DataListContent_center">
                        <%# Eval("gmpcode")%>
                    </td>
                    <td width="25%" class="td_DataListContent_center">
                        <%# Eval("gmprange")%>
                    </td>
                    <td width="10%" class="td_DataListContent_center">
                        <%# Convert.ToDateTime(Eval("gmpstardate")).ToString("yyyy-MM-dd")%>
                    </td>
                    <td width="10%" class="td_DataListContent_center">
                        <%# Convert.ToDateTime(Eval("gmpenddate")).ToString("yyyy-MM-dd")%>
                    </td>
                    <td width="6%" class="td_DataListContent_center">
                        <a href='../Bidder/CompanyGMPUpdate.aspx?ID=<%# MsgBox.JiaMiobj_Encrypt(Eval("ID"))%>&AccountId=<%# MsgBox.JiaMiobj_Encrypt(Eval("ACCOUNTID"))%>'
                            target="_blank">修改</a>
                    </td>
                    <td width="6%" class="td_DataListContent_center">
                        <input name="chk" type="checkbox" value='<%# Eval("ID")%>'>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>
